<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>币时代移动版</title>
	<meta name="description" content="货币时代 -实时显示全球电子货币价格走势" />
   	<meta name="keywords" content="货币时代,C网,国内C网,外盘行情,山寨币,比特币,国际山寨币市场,bitcoin, BTC, litecoin, LTC, namecoin, ppcoin, terracoin, freicoin, feathercoin, FTC, NMC, TRC, FRC, PPC, 交易平台，交易网站，比特币交易，比特币兑换，比特币市场" />
   	<meta name="viewport" content="user-scalable=no, width=device-width, target-densitydpi=medium-dpi"> 
   	<meta name = "format-detection" content = "telephone=no"/> 
   	<link rel="icon" href="../../../favicon.ico" type="image/x-icon"/> 
	<link rel="shortcut icon" href="../../../favicon.ico" type="image/x-icon"/> 
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css">
    <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
</head>
<body>
    <div data-role="page">
 		<style type="text/css">
	    	a {
	    		font-weight:normal;
	    		font-size:14px;
	    	}
	    	.smart {
	    		font-weight:normal;
	    		font-size:14px;
	    	}
	    </style>
        <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="b">
            <a href="../../index.html" data-icon="home">首页</a>
		    <h1>${code }/CNY</h1>
		    <a href="javascript:window.location.reload();" data-icon="refresh">刷新</a>
        </div>
        
        <div data-role="content">
	        <ul data-role="listview">
			    <li style="display:none;"><span class="smart">最近成交时间：${market.lasttradetime}</span></li>
			    <li><span class="smart">最新价(CNY)：${market.cnyPrice}</span></li>
			    <li><span class="smart">最近成交量：${market.volume}</span></li>
			</ul>
			<div style="height:30px;">&nbsp;</div>
			<a class="smart" href="../../${code}_${secondCode}/${marketId}/chart.dhtml" data-icon="arrow-r" data-iconpos="right" data-role="button">交易K线图</a>
			<a class="smart" href="../../${code}/${marketId}/buy.dhtml" data-icon="arrow-r" data-iconpos="right" data-role="button">买单（CNY）</a>
			<a class="smart" href="../../${code}/${marketId}/sell.dhtml" data-icon="arrow-r" data-iconpos="right" data-role="button">卖单（CNY）</a>
			<a class="smart" href="../../${code}/${marketId}/his.dhtml" data-icon="arrow-r" data-iconpos="right" data-role="button">成交记录(最近200条)</a>
        </div>
 		
 		<!--  
        <div data-role="footer" data-position="fixed" data-theme="b">
            <div data-role="controlgroup" data-type="horizontal" style="padding-left:10px;">
			    <a href="../../${code}/${marketId}/buy.html" data-role="button">买单（CNY）</a>
			    <a href="../../${code}/${marketId}/buy.html" data-role="button">卖单（CNY）</a>
			    <a href="../../${code}/${marketId}/buy.html" data-role="button">成交记录</a>
			</div>
        </div>
        -->
        <div data-role="footer" data-position="fixed" data-tap-toggle="false" data-theme="b">
            <!--  
            <h4>&nbsp;&nbsp;&nbsp;&nbsp;&copy; 2013 货币时代  All Rights Reserved</h4>
            -->
            <h4><a href="#" data-role="button" data-icon="grid" data-iconpos="notext" data-theme="b" data-iconshadow="false" data-inline="true"></a>比特币最新价(CNY)：${btcPrice}</h4>
        </div>
    </div>
</body>
</html>
